package com.budwk.app.sqfw.services;

import com.budwk.app.sqfw.vo.Sqfw_formSummaryForAdminVO;
import com.budwk.starter.common.page.Pagination;
import com.budwk.starter.common.result.Result;
import org.nutz.dao.sql.Criteria;

/**
 * 安全排查接口
 */

public interface SecurityInvestigationService {

    // 检查当前用户是否满足操作权限
    boolean checkCurrentUserAuthority();

    /**
     * 分页查询列表
     *
     * @param forAdminVo
     * @return
     */
    Result<Pagination> listSummaryByPage(Sqfw_formSummaryForAdminVO forAdminVo);

    // 按照查询条件导出PDF
    String generateServiceRecordPdfCollZipForBM(Sqfw_formSummaryForAdminVO bean);

    // 按照查询条件导出excel
    String generateServiceRecordExcelCollZipForBM(Sqfw_formSummaryForAdminVO bean);

    /**
     * 组装查询条件
     *
     * @param forAdminVo
     * @return
     */
    Criteria buildQueryCond(Sqfw_formSummaryForAdminVO forAdminVo);
}
